package genindex

type entry struct {
	title string
	file  string
	prev  *entry
	next  *entry
}

type index struct {
	workDir string
	file    string
	title   string

	homeTitle string

	chains   []*index
	children []*index
	entries  []*entry
}

type IndexOption struct {
	WorkDir    string
	IndexTitle string
	HomeTitle  string

	RootIndexFile string
	SubIndexFile  string

	InheritGitIgnore bool
	// private:
	chains       []*index
	rootExcludes *[]string
	subExcludes  []string
}

type GenerationOption struct {
	Override  bool
	Recursive bool
	Nav       bool

	Verbose      bool
	NoHeaderLink bool
}

type parseContentOption struct {
	WorkDir      string
	Content      string
	Depth        int
	NoHeaderLink bool
}
